"""
负责支付平台
"""
from wsgiref.simple_server import make_server

# from wsgi import app,render
from pay.views import app
# import django


def main():
    httpd = make_server('', 8001, app)
    sa = httpd.socket.getsockname()
    print('http://{0}:{1}'.format(*sa), '启动成功！')
    httpd.serve_forever()
    httpd.handle_request()

if __name__ == "__main__":
    main()

